<include file="Public/mheader" />
<style>
	body{
		width:100%;
		height:100%;
		background:url(http://qncdn.game.jjcbw.com/upload/ntxx/bg_3.png?id=098)  no-repeat;
		background-attachment:fixed;
		/*background-size: 100% 100%;
        position: relative;*/
		background-size: cover;
		background-position: 50% 50%;
		font-family: "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
		font-size:18px;
	}
	.center{
		margin:0px auto;
		padding:30px 30px 100px 30px;
	}
	.content{
		background:rgba(255,255,255,0.6);
		border-radius: 5px;
		padding: 5px;
	}
	.title{
		margin-bottom:10px;
	}
	.img{
		margin-top:10px;
	}
	.img img{
		max-width:100%;
	}

	.aw>div{
		margin: 5px -5px;
		border: #888888 1px solid;
		padding: 5px;
		border-radius: 5px;
		position: relative;
	}
	.aw>.error:after{
		content:"";
		width:3px;
		height:20px;
		position: absolute;
		right:15px;
		bottom:5px;
		border-right: red 3px solid;
		transform:rotate(45deg);
	}
	.aw>.error:before{
		content:"";
		width:3px;
		height:20px;
		position: absolute;
		right:15px;
		bottom:5px;
		border-right: red 3px solid;
		transform:rotate(-45deg);
	}
	.aw>.success:after{
		content:"";
		width:10px;
		height:20px;
		position: absolute;
		right:10px;
		bottom:5px;
		border-right: red 3px solid;
		border-bottom: red 3px solid;
		transform:rotate(45deg);
	}

	.fra{
		position:absolute;
		right:10px;
		top:10px;
		background:rgba(255,255,255,0.6);
		font-size:16px;
	}
	#time{
	}
	.cansubmit{
		position:fixed;
		left:0;
		top:0;
		width:100%;
		background:white;
		height:100%;
		padding:30px;
		z-index:5;
		overflow-y: scroll;
	}
	.submit-info{
		font-size:14px;
		margin-top:10px;
	}
	.input{
		margin-top:5px;
	}
	a.btn.btn-block{
		margin-top:5px;
		margin-bottom:5px;
	}
	.title{
		text-align:center;
	}
	.company-code{
		min-width:80px;
	}
	div>p{
		margin-top: 1em;
	}
	.index-logo{
		height: 3em;
		background: url(http://qncdn.game.jjcbw.com/upload/ntxx/share.png?rand=1928) no-repeat;
		background-position: center center;
		background-size: cover;
		margin-bottom: 1.5em;
	}
	.index-logo span{
		color: red;
	}
	.dv-finish{
		text-align: center;
		margin-bottom: 1.5em;
	}
	.dv-finish>img{
		width: 50%;
	}
	.dv-finish>span{
		color: red;
	}
	.dv-finish>p>span{
		color: red;
	}
</style>
<div class="center">
	<div class="index-logo">

	</div>
	<div class="dv-finish">
		<img src="/upload/ntxx/finish.png">
	</div>
	<div class="dv-finish">

		<notempty name="score2">
			您在本次考试中获得<span>{$score2}</span>分.
			<p>您在上一次考试中获得<span>{$score1}</span>分.</p>
		<else />
			您在本次考试中获得<span>{$score1}</span>分.
		</notempty>

	</div>
	<empty name="score2">
		<div  class="dv-finish" style="margin-top: 6em;">
			<a href="{:U('answer/index')}?tid={$tid}" style="width: 50%" class="btn btn-sm btn-danger ">再考一次</a>
		</div>

	</empty>

	<div  class="dv-finish">
		<a href='/Ntxx' style="width: 50%" class="btn btn-sm btn-danger ">回到首页</a>
	</div>
</div>

<script>
    (function() {

        document.addEventListener("zzjjAppJSBridgeReady", function () {
            var fra = <notempty name="score2">{$score2}<else />{$score1}</notempty>;
            var news_setting_str = '{"news_id":"97728","is_collection":0,"comments_url":"http://www.jjcbw.com/News/news/id/97728.html",' +
                '"comment_api":"http://www.jjcbw.com/News/news/id/97728.html","allow_comment":"0","comment_count":"0",' +
                '"share":{"title":"我在学习贯彻十九大精神网络学习考试中得到'+fra+'分，你也来参加吧。","url":"http://www.jjcbw.com/News/news/id/97728.html",' +
                '"img":"http://game.jjcbw.com/upload/cdjs/logo.jpg"' +
                ',"share_callback":"http://www.jjcbw.com/News/news/id/97728.html"},"show_message":""}';

            window.api.setNewsSetting(news_setting_str);
        });
    })();
        </script>
<include file="public/footer" />